//
//  InterestTableViewCell.m
//  reSearchDemo
//
//  Created by 云库 on 15/9/17.
//  Copyright (c) 2015年 Kiwaro. All rights reserved.
//

#import "InterestTableViewCell.h"
#import "UIImageView+WebCache.h"

@implementation InterestTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setBusiness:(BusinessNear *)business{
    
//    NSArray * imgArr=[business.image componentsSeparatedByString:@","];
//    NSString * string=[NSString stringWithFormat:@"http://%@/upload/%@",AREA,imgArr[0]];
//    NSURL * url=[NSURL URLWithString:string];
//    [self.image sd_setImageWithURL:url placeholderImage:[UIImage imageNamed:@"默认图片.png"]];
//    self.shangjia.text = business.name;
//    self.address.text = business.address;
//    self.sale.text = [NSString stringWithFormat:@"%.0f折起",business.discount];
//    NSString * str=[business.distance substringToIndex:3];
//    self.distance.text=[NSString stringWithFormat:@"%@km",str];
}

@end
